package com.lijy.breaks;

import org.junit.Test;

/**
 * @author Lijingyu on 2017/9/19.
 */
public class TestBreak {

    @Test
    public void testBreak(){
        for (int i = 0; i < 15; i++) {
            System.out.println(i);
            if (i == 10) {
                break;
            }
        }
    }

}
